package com.aaa.system.dao;

import com.aaa.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @program: aaa-education-parent
 * @description:
 * @author: 闫克起
 * @create: 2024-03-06 11:22
 **/
public interface PermissionDao extends BaseMapper<Permission> {


    public List<Permission> selectByUserid(String userId);
    //token中只保存了用户名---根据用户查询。
    public List<Permission> selectByUsername(String name);
}
